.daily-hexagram {
  min-height: 100vh;
}

.header {
  margin-bottom: 24px;
}

.divination-area {
  margin-bottom: 24px;
}

.hexagram-container {
  background-color: var(--card-background);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  min-height: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  justify-content: center;
}

.hexagram-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coins-image {
  font-size: 48px;
  margin-top: 16px;
  letter-spacing: 8px;
}

.coins-image.shaking {
  animation: shake 0.5s infinite;
  display: inline-block; /* 确保动画作用于单个金钱 */
}

.hexagram-result {
  width: 100%;
  text-align: center;
}

.hexagram-symbol {
  margin-bottom: 16px;
}

.hexagram-image {
  font-size: 64px;
  color: var(--secondary-color);
}

.hexagram-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hexagram-meaning {
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.hexagram-description {
  font-size: 15px;
  line-height: 1.5;
}

.shake-button {
  margin-top: 8px;
}

.interpretation-card {
  .card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .interpretation-item {
    margin-bottom: 16px;

    &:last-child {
      margin-bottom: 0;
    }

    .item-title {
      font-size: 17px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .item-content {
      font-size: 15px;
      line-height: 1.5;
    }
  }

  .placeholder-text {
    color: var(--text-secondary);
    font-size: 15px;
    text-align: center;
    padding: 24px 0;
  }
}

@keyframes shake {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  20% {
    transform: translate(-2px, 0) rotate(-2deg);
  }
  40% {
    transform: translate(2px, 0) rotate(2deg);
  }
  60% {
    transform: translate(-2px, 0) rotate(-1deg);
  }
  80% {
    transform: translate(2px, 0) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) rotate(0);
  }
}

/* 六爻卦象样式 */
.hexagram-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.hexagram-line {
  font-size: 100px;
  height: 24px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  min-width: 120px;
  text-align: center;
  position: relative;
}

.hexagram-line.yang {
  color: #d97706; /* 阳爻颜色 */
}

.hexagram-line.yin {
  color: #4b5563; /* 阴爻颜色 */
  letter-spacing: 2px;
}